﻿/************************************
Class Customer : Simulation Homework
Author : Rokia 
Date : sep 2011
*************************************/

class Customer extends MovieClip{

	//--Attrib
	private var cName:String;
	private var cTime:Number;
	private var cMove:Boolean;	
	//>
	
	
	
	//--Constructor
	public function Customer(){
		trace('Customer has constructed');
		cMove = false;
	}
	//>
	
	
	
	//--Public Method
	
	public function getPos(){
		trace('x pos'+this._x);
		trace('y pos'+this._y);		
	}
	//>
	
	
	//--Private Method
	//>
	
	
	//--Properties
	public function get _cName():String{
		return this.cName;
	}
	
	
	public function set _cName(namex:String){
		this.cName = namex;
	}
	
	
	public function get _cTime():Number{
		return this.cTime;
	}
	
	
	public function set _cTime(timex:Number){
		trace('cTime set to'+timex);this.cTime = timex;
	}
	
	public function get _cMove():Boolean{
		return this.cMove;
	}
	
	
	public function set _cMove(cmove:Boolean){
		this.cMove = cmove;
	}
	//>
}